package com.freeLearning.boot.system.model.query;

import com.freeLearning.boot.common.base.BasePageQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Schema(description = "消息分页查询对象")
public class MessagePageQuery extends BasePageQuery {

    @Schema(description = "消息标题")
    private String title;

    @Schema(description = "发布消息开始")
    private String publishTimeStart;

    @Schema(description = "发布消息结束")
    private String publishTimeEnd;

    @Schema(description = "是否已读")
    private Integer isRead;

    @Schema(description = "消息类型")
    private String type;
}
